#ifndef COMPILER_ONLINE
#include "header.cpp"
#endif

void Test1()
{
    std::vector<int> v = {1, 2, 3, 4, 5, 6};
    int max = Solution().Max(v);
    if(max == 6)
        std::cout << "Test1 passed\n" << std::endl;
    else
        std::cout << "Test1 failed\n" << std::endl;
}

void Test2()
{
    std::vector<int> v = {-1, -2, -3, -4, -5, -6};
    int max = Solution().Max(v);
    if(max == -1)
        std::cout << "Test1 passed\n" << std::endl;
    else
        std::cout << "Test1 failed\n" << std::endl;
}

int main()
{
    Test1();
    Test2();
    return 0;
}
